package com.htthorizon.model.mapper;

import com.htthorizon.model.domain.ModelMessageNextUser;
import com.htthorizon.model.request.ModelMessageSearchReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Brilliant
* @description 针对表【model_message_next_user】的数据库操作Mapper
* @createDate 2023-11-30 17:17:59
* @Entity com.htthorizon.model.domain.ModelMessageNextUser
*/
@Mapper
public interface ModelMessageNextUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ModelMessageNextUser record);

    int insertSelective(ModelMessageNextUser record);

    ModelMessageNextUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ModelMessageNextUser record);

    int updateByPrimaryKey(ModelMessageNextUser record);

    int delByMessageId(Long id);

    List<Long> getMyNextList(@Param("search") ModelMessageSearchReq search, @Param("myId")Long myId);

    List<Long> getNextModelMessageByUserId(Long userId);
}
